dofile ("libKeyboard.lua")

Keyboard.init (1, 5, 5)

while not Keys.newPress.Start do
   
  Controls.read()
  
  startDrawing()
    
    Keyboard.draw (1)
    
    local text = Keyboard.text (1)
    
    screen.drawTextBox (SCREEN_UP, 5, 5, SCREEN_WIDTH-5, SCREEN_HEIGHT-5, text.."|")
    
  stopDrawing()

end

Keyboard.clear (1)

